Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Remove file io from splits and Add preferFileIO for Paimon catalog. #2995

Merged
merged 9 commits into from
Mar 13, 2024

Conversation

leaves12138
Copy link
Contributor

Reason:

  • Split better not contain FileIO, because compute system file io (which wrapped as paimon file io) may not be able to serialized.
  • We should add preferFileIO for testing wrapped file io by compute system (like trino).

@leaves12138 leaves12138 changed the title [core] Remove file io from splits and Add preferFileIo for Paimon catalog. [core] Remove file io from splits and Add preferFileIO for Paimon catalog. Mar 13, 2024
@@ -129,17 +133,17 @@ private static class AggregationSplit implements Split {

private static final long serialVersionUID = 1L;

private final FileIO fileIO;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test to verify no fileIO here?

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 132e09a into apache:master Mar 13, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants